package com.ty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/12/28 15:59
 */

@Data
@TableName("periodical_tb")
public class Book {
    private Integer id;
    private String name;
    private Double price;
    private String intro;
    @TableField("cover_address")
    private String coverAddress;
    @TableField("create_time")
    private String createTime;
    private Integer periods;
    private Integer num;
    @TableField("sales_num")
    private Integer salesNum;
    private Integer type;
    @TableField(exist = false)
    private BookTypeEntity pt;

}
